package com.lnking.lnkingplace.model.dto.placeProblem;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableInfo(tableName = "隔离整改台账")
public class PlaceProblemExcel {

    @TableColumn(columnName =  "隔离场所名称")
    private String placeName;

    @TableColumn(columnName =  "检查时间",column = "1")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate problemDiscoveryDate;

    @TableColumn(columnName =  "检查类型",column = "2")
    private String examineType;

    @TableColumn(columnName =  "问题描述",column = "3")
    private String problem;

    @TableColumn(columnName =  "整改措施",column = "4")
    private String measure;

    @TableColumn(columnName =  "责任人",column = "5")
    private String responsiblePerson;

    @TableColumn(columnName =  "联系电话",column = "6")
    private String phone;

    @TableColumn(columnName =  "整改时限",column = "7")
    private String duration;

    @TableColumn(columnName =  "整改结果",column = "8")
    private String result;
}
